package chapter25;

public class Student {
    public String id;
    public String name;
    public String gender;

    public Student(String id, String name, String gender) {
        this.id = id;
        this.name = name;
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ",gender='" + gender + '\'' +
                '}';
    }
}
